/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pds_facebook;

import pds_facebook.Adapter.FriendAdapter;
import pds_facebook.Adapter.MyFriend;

/**
 *
 * @author Joao
 */
public class NewPrinter {

    public static String printPersonalData(String name, String token) {
        MyFriend friend = FriendAdapter.getFriend(token, name);

     return  ("\nUser name: " + friend.getName())+

        ("\nBirthday: " + friend.getBirthday()) +

        ("\nGender: " + friend.getGender()) +
        ("\nRelationship: " + friend.getRelationship());
    }
}
